package co.fitstart.mobile.service;

import java.util.List;

import co.fitstart.entity.coupon.CreditCouponBatch;
import co.fitstart.entity.credit.Credit;

/**
 * 
 * @author Ysy
 *
 */
public interface CreditCouponBatchService {

    /**
     * List all avaliable credit coupon batches
     *  
     * @return
     */
    public List<CreditCouponBatch> listAll();

    /**
     * Load by id
     * 
     * @param id
     * @return
     */
    public CreditCouponBatch load(Long id);

    /**
     * Exchange creditCouponBatch by user's credit
     * 
     * @param credit
     * @param creditCouponBatch
     */
    public void exchange(Credit credit, CreditCouponBatch creditCouponBatch);
}
